package com.xxwy.ddu.security.app;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.core.RedisTemplate;

import java.io.Serializable;

@ComponentScan({"com.xxwy.ddu.common.autowired.*","com.xxwy.ddu.security.*.*","com.xxwy.ddu.security.*.*.*"})
@SpringBootApplication
public class DduSecurityAppApplication {

    @Autowired
    private RedisTemplate<String,Serializable> xxredisTemplate;

    public static void main(String[] args) {
        SpringApplication.run(DduSecurityAppApplication.class, args);
    }

    public void yesy(){
        xxredisTemplate.opsForValue();
    }

}


